Uart/SPI Transparent Bridge

Standard and easy to use firmware package

 

Q: What does "transparent" mean ?

Operation Mode : To achieve the goal of "transparent", the command for bridge configuration must be seperated with data stream. There are two modes : command mode and data mode.

Operation mode

Bridge looks transparent : Because command has been seperated with data. In data mode, there is no packet header or frame structure. The data streams before and after bridge are exactly the same. It looks like bridge is transparent.

Bridge looks transparent

Q: Is there any choice other than transparent bridge ?

 

     If your application need to switch between command mode and data mode frequently, it is not efficient to use transparent bridge. Another better way is to use packet bridge. All the data exchanged is a packet which includes header and payload. The bridge parse each packet header for further processing. Command can be transfered as a packet directly, so it is not necessary to swith between command mode and data mode.

 

    Wifi bridge has built-in TCP/IP stack for connection to IP network directly. Theare are four different configurations : TCP server, TCP client, UDP server, UDP client.

 

Wifi bridge operation diagram

 

BLE is slave : There is not internet connection for BLE bridge. BLE slave bridge is usually used for connection with mobile phone APP

 

BLE slave bridge operation diagram

BLE is master : BLE master bridge is usually used for collecting information from peripherial devices. It could be a star or mesh network.

 

BLE master bridge operation diagram

Demo Example : Scan the avaliable BLE devices around

 

BLE device scan

 

Demo Example : Send text or read text to remote device via BLE

 

Send and read message

 

    Zigbee bridge is usually used for collecting information from peripherial devices. It could be a star or mesh network.

 

Zigbee bridge operation diagram